package wlf.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import wlf.pojo.Admin;
import wlf.pojo.Role;

public interface RoleMapper {
	
	@Select("select * from role where id in(select id from admin_role where aid = #{id})")
	List<Role> selRoleByAdmin(Admin admin);
}
